<?php

/**
 * Build youtube
 * @param $video_id
 * @param $thumb
 */
function blg_youtube_thumbnail_url($video_id= YOUTUBE_ID_NOT_FOUND, $thumb= 2){
	if(empty($video_id))
		$video_id= YOUTUBE_ID_NOT_FOUND;
			
	if($thumb<0 || $thumb>3)
		$thumb= 2;
	
	return 	'http://img.youtube.com/vi/'.$video_id.'/'.$thumb.'.jpg';
}